package graphic.drawables;


/**
 * Classe che rappresenta il singolo Tile.
 *
 * @author Jan
 *
 */
public class Frame {
	
	private int index;
	private int[] framePixels;
	private int width;
	private int height;
	
	public Frame(int index, int[] framePixels, int width, int height) {
		this.framePixels = framePixels;
		this.index = index;
		this.width = width;
		this.height = height;
	}
	
	public int[] getPixels() {
		return framePixels;
	}
	
	public int getHeight() {
		return height;
	}
	
	public int getWidth() {
		return width;
	}
	
	public int getIndex() {
		return index;
	}
	
}
